package com.wd.jetpack.api

import com.wd.jetpack.model.ArticleData
import com.wd.jetpack.model.BaseResponse
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Query

interface ArticleService {

    @GET("toutiao/index")
    fun toutiao(@Query("type") type: String, @Query("key") key: String): Single<BaseResponse<ArticleData>>
}